package top.infopub.mgr.mgc.service;


import top.infopub.generic.GenericService;
import top.infopub.model.mgc.MsgTemplate;
import top.infopub.model.mgc.MsgTemplateMain;


public interface MsgTemplateMainService extends GenericService<MsgTemplateMain, String> {

    void batchUpdateDelFlag(String[] checkboxId, Integer delDisable);

    /**
    * 判断编码是否存在
    * @param param
    * @return
    */
    boolean isCodeExist(MsgTemplateMain param);
    
    MsgTemplate getProtocolByCode(String code);
}